<template>
  <table class="carttable">
    <tr>
      <th></th>
      <th>商品名称</th>
      <th>单价</th>
      <th>数量</th>
      <th>小计</th>
      <th>操作</th>
    </tr>

    <slot/>
    <slot name="footer"/>

  </table>
</template>


<style lang="scss" scoped>
 table {
   width: 100%;
   height: 100%;
 }
</style>
